package org.redis.cluster.event;

public interface EventListener<T extends Event> {

	/**
	 * 
	 * @param event
	 */
	public void onEvent(T event);
	
	/**
	 * 
	 * @param event
	 * @return
	 */
	public boolean isSupport(Event event);
}